package com.you.bio.readerio;

import com.you.bio.constant.Constants;

import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;

public class BufferedReaderIODemo {

    public static void main(String[] args) throws Exception {
        //StringReader stringReader = new StringReader("");
        BufferedReader br = new BufferedReader(new FileReader(new File(Constants.INPUT_FILE_PATH)));
        String str = null;
        while ((str = br.readLine()) != null) {
            System.out.println(str);
        }
        System.out.println("--------------写文件-------------");

    }
}
